package com.xxxx.server.controller;


import com.xxxx.server.service.impl.MenuServiceImpl;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest
public class test{
    @Autowired
    @Qualifier("m")
   public MenuServiceImpl menuService;
    @Test
    public void a(){
        System.out.println(menuService.getMenusWithRole());
    }

}



